import joyFood from './modules/joyFood';

const routes = [
  {
    name: 'home',
    path: '/',
    component: () => import('@/views/home'),
    children: [
      ...joyFood
    ]
  },
  {
    name: 'login',
    path: '/login',
    component: () => import('@/views/Login')
  },
  {
    name: 'notFound',
    path: '/404',
    component: () => import('@/views/NotFound')
  }
]
export default routes